package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;
import com.itheima.pojo.Sports;

import java.util.List;

public interface SportsService {
    PageResult findPage(QueryPageBean queryPageBean);

    void addList(List<Sports> list1);

    void add(Sports sports);

    void delete(Integer id);

    void edit(Sports sports);

//    Sports findById(Integer id);
        List<Sports> findAll();
}
